package pro.softzhang.algo.lc100;


import pro.softzhang.algo.flag.knowledge.KBitManipulation;

/**
 *
 */
@KBitManipulation
public class LC136_SingleNumber {
    public static void main(String[] args) {

    }

    /**
     *
     */
    static
    class Solution {
        public int singleNumber(int[] nums) {
            int s = 0;
            for(int num : nums) {
               s ^= num;
            }
            return s;
        }
    }
}
